package com.finger.eduservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
// 启用远程服务调用
@EnableFeignClients
// 启用nacos注册中心注册
@EnableDiscoveryClient
@SpringBootApplication
@ComponentScan(basePackages = {"com.finger"})
public class EduServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(EduServiceApplication.class, args);
    }
}
